﻿<Icon Component="InnerIcon" Style="vertical-align: 0"/>

@code {
    [Parameter]
    public string Type { get; set; }

    RenderFragment InnerIcon;

    protected override void OnParametersSet()
    {
        InnerIcon = @<StardustDL.RazorComponents.MaterialDesignIcons.MdiIcon Type="@Type"></StardustDL.RazorComponents.MaterialDesignIcons.MdiIcon>;
    }
}
